home *** CD-ROM | disk | FTP | other *** search
- Path: guillotine.mtl.dmr.ca!news
- From: Francois Donato <donatofr@mtl.dmr.ca>
- Newsgroups: comp.lang.c++
- Subject: Re: Implementing A New Project
- Date: Mon, 04 Mar 1996 23:31:14 -0500
- Organization: Groupe DMR Inc., Montreal, Qc, Canada
- Message-ID: <313BC392.2F17@mtl.dmr.ca>
- References: <4herul$mqf@harbinger.cc.monash.edu.au>
- NNTP-Posting-Host: slip27.mtl.dmr.ca
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Andrew Lowe wrote:
- >
- > Having been programming in C for 10 years and the last two in C++ I am
- > still only using C++ as a slightly glorified C. I am attempting to get out of
- > this mind set but need some advice on a project I am about to start.
- >
- > ...
- > The question is how do I use C++ to its best advantage to develop this
- > system. In my current mindset of using C++ as a glorified C I have worked out
- > the following class setup:
- >
- > ...
- >
- > I hope this makes sense. What I am trying to do is show that the
- > building is the main object. This object is in turn made up of component parts
- > such as the nodes and members. The members are defined as running between the
- > nodes and the loads are defined in relation to the members.......sort of thing
- > if you get my drift!!!!!!
- >
- > Inthe considered opinion of the news group readers is there a better
- > way, a more C++ way of doing this?
- >
- > I await your replies.
- >
- > Regards,
- > Andrew Lowe
- >
- > C++ is an object oriented language, I think the use of C or C++ is depending
- of the design of the application.
-
- Personnaly, I think that the design of the application is more important than
- the language used. I previously use C to write O.O. code and everything
- work fine because the design was good! Think design of application not
- language. After that use the most appropriate language for your design!
-
- Francois Donato
-